package com.chinasofti.IO;

import java.io.File;
import java.io.IOException;

public class Demo01 {
    public static void main(String[] args) throws IOException {
//        File file = new File("");

        File file = new File("java0418\\java.txt");
//        System.out.println(file.createNewFile());

//        System.out.println(file.delete());
        System.out.println("**-*-*-*-*-*-*--*-*--**-*");
        File file1 = new File("java0418\\chagnxin");
//        System.out.println(file1.mkdir());
//        System.out.println(file1.delete());
//        System.out.println(file1.delete());
//        System.out.println(file1.createNewFile());
        File file2 = new File("java0418\\chagnxin\\java.txt");
//        System.out.println(file1.mkdir());
//        System.out.println(file1.delete());
//        System.out.println(file2.delete());
    }

}
